import axios from 'axios'

export function createOrder(data) {
  return axios.post('/api/orders', data)
}

export function getOrderDetail(orderId) {
  return axios.get(`/api/orders/${orderId}`)
} 